home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Expander / Sample Source / CApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  1.3 KB  |  54 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CApp.h
  3.  
  4.             Header File For CApp Application Class
  5.     
  6.     Copyright Â© 1994 My Software Inc. All rights reserved.
  7.  
  8.     Generated by Visual Architectâ„¢ 9:40 PM Wed, Jun 8, 1994
  9.  
  10.     This file is only generated once. You can modify it by redefining
  11.     in the placeholder definitions and adding any new methods and
  12.     data members you wish.
  13.  
  14.     If you change the name of the application, a fresh version of this
  15.     file will be generated. If you have made any changes to the file
  16.     with the old name, you will have to copy those changes to the new
  17.     file by hand.
  18.  
  19.  ******************************************************************************/
  20.  
  21. #pragma once
  22.  
  23. #include "x_CApp.h"
  24.  
  25. #include <CDialog.h>
  26.  
  27. class CApp : public x_CApp
  28. {
  29. public:
  30.  
  31.             TCL_DECLARE_CLASS
  32.  
  33.             void    ICApp(void);
  34.     
  35.     virtual    void     ForceClassReferences(void);
  36.     virtual    void     DoCommand(long theCommand);
  37.     
  38.             // Remove this function if you do not have
  39.             // multiple document types
  40.  
  41.     virtual    OSType     GetDocTypeFromDialog(CDialogDirector *dialog);
  42. };
  43.  
  44. //    File Types
  45. //
  46. //    Change the #defines below to reflect the file types
  47. //    your application actually creates or opens
  48.  
  49. #define    kNumFileTypes    1
  50. #define    kFileType1        'TEXT'
  51. #define kFileType2        'TEXT'
  52. #define kFileType3        'TEXT'
  53. #define kFileType4        'TEXT'
  54.